]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix one more if(!s)
authorRudolf Polzer <divverent@xonotic.org>
Thu, 3 Jan 2013 20:02:14 +0000 (21:02 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 3 Jan 2013 20:02:14 +0000 (21:02 +0100)
qcsrc/common/mapinfo.qc

index 69c3092e2ed216d79396eb2fcd8e9974c01b7a7c..ee46d5eab2ab85bdcabb18e0641086cded0135cb 100644 (file)
@@ -65,7 +65,7 @@ float MapInfo_Cache_Retrieve(string map)
                return 0;
 
        s = db_get(_MapInfo_Cache_DB_NameToIndex, map);
-       if(!s)
+       if(s == "")
                return 0;
        i = stof(s);