[wpdev-commits] wolfpack world.cpp,1.58,1.59
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@pr...> - 2004-01-31 06:07:15
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3042 Modified Files: world.cpp Log Message: Another fix for world saving. Index: world.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/world.cpp,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** world.cpp 30 Jan 2004 09:18:05 -0000 1.58 --- world.cpp 30 Jan 2004 14:08:36 -0000 1.59 *************** *** 841,845 **** QString sql; ! if( !res.fetchrow() || !res.isValid() ) { sql = "INSERT INTO settings VALUES('%1','%2')"; --- 841,845 ---- QString sql; ! if( !res.isValid() || !res.fetchrow() ) { sql = "INSERT INTO settings VALUES('%1','%2')"; |