From: DaveG <da...@us...> - 2006-05-22 21:41:26
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16764/src/server Modified Files: usermanager.cpp Log Message: static-const-ifying string array Index: usermanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/usermanager.cpp,v retrieving revision 1.262 retrieving revision 1.263 diff -C2 -d -r1.262 -r1.263 *** usermanager.cpp 29 Apr 2006 18:34:58 -0000 1.262 --- usermanager.cpp 22 May 2006 21:41:22 -0000 1.263 *************** *** 413,425 **** { // Character's Strength assessment code below. ! char* StrengthGuessPhrases[] = {"won't require any effort to defeat", ! "is noticeably weaker than you", ! "won't pose much of a challenge", ! "is not quite as strong as you", ! "is about as strong as you", ! "is somewhat stronger than you", ! "will pose a challenge to defeat", ! "is signifigantly more powerful than you", ! "may be impossible to defeat" }; bool smart = (playerAttr->GetStat(PSITEMSTATS_STAT_INTELLIGENCE) >= 100); --- 413,426 ---- { // Character's Strength assessment code below. ! static const char* StrengthGuessPhrases[] = ! { "won't require any effort to defeat", ! "is noticeably weaker than you", ! "won't pose much of a challenge", ! "is not quite as strong as you", ! "is about as strong as you", ! "is somewhat stronger than you", ! "will pose a challenge to defeat", ! "is signifigantly more powerful than you", ! "may be impossible to defeat" }; bool smart = (playerAttr->GetStat(PSITEMSTATS_STAT_INTELLIGENCE) >= 100); |