Bug #867
typo in pvp_manager_2.cpp setFactionWar bounds check
| Status: | Closed | Start date: | 05/10/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Services: General | |||
| Target version: | Version 0.8.0 |
Description
Cut and paste error in the faction2 check:
diff -r f6f6d3093bea code/ryzom/server/src/entities_game_service/pvp_manager/pvp_manager_2.cpp
--- a/code/ryzom/server/src/entities_game_service/pvp_manager/pvp_manager_2.cpp Sun May 09 08:11:26 2010 +0200
+++ b/code/ryzom/server/src/entities_game_service/pvp_manager/pvp_manager_2.cpp Mon May 10 12:18:07 2010 +0200
@@ -1272,7 +1272,7 @@
return false;
}
- if( faction1 < PVP_CLAN::BeginClans || faction1 > PVP_CLAN::EndClans )
+ if( faction2 < PVP_CLAN::BeginClans || faction2 > PVP_CLAN::EndClans )
{
log.displayNL("Invalid Faction2 name: '%s'", args[1].c_str());
return false;
attached as a hg diff.
History
#1
Updated by vl about 5 years ago
- Category set to Services: General
- Status changed from New to Assigned
- Assignee set to vl
- Target version set to Version 0.8.0
#2
Updated by vl about 5 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r62.
#3
Updated by vl about 5 years ago
- Status changed from Resolved to Closed
