Changeset 6412 for code/branches/pickup2/src/modules/pong/PongScore.cc
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/modules/pong/PongScore.cc
r5929 r6412 77 77 std::string name2; 78 78 79 std::string score1 = "0";80 std::string score2 = "0";79 std::string score1("0"); 80 std::string score2("0"); 81 81 82 82 if (player1) … … 114 114 } 115 115 116 std::string output = "PONG";116 std::string output("PONG"); 117 117 if (this->bShowName_ || this->bShowScore_) 118 118 { 119 119 if (this->bShowLeftPlayer_ && this->bShowRightPlayer_) 120 output = output1 + ":"+ output2;120 output = output1 + ':' + output2; 121 121 else if (this->bShowLeftPlayer_ || this->bShowRightPlayer_) 122 122 output = output1 + output2;
Note: See TracChangeset
for help on using the changeset viewer.