From: Rudolf Polzer Date: Thu, 3 Jan 2013 20:02:14 +0000 (+0100) Subject: fix one more if(!s) X-Git-Tag: xonotic-v0.7.0~139 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e516831bfdb9549bd5090091f06f72bcb191fd1;p=xonotic%2Fxonotic-data.pk3dir.git fix one more if(!s) --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 69c3092e2..ee46d5eab 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -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);