Changeset 41b2a07554e01d8c26f5605096583d625c9d36f3
- Timestamp:
- 02/25/07 18:40:15
(2 years ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1172425215 +0100
- git-parent:
[4f67a655e514ac544f955f39dadece834e7e05ee]
- git-author:
- Christopher Jung <bktheg@web.de> 1172425215 +0100
- Message:
Punkte werden am Ende der Schlacht nun korrekt gesetzt
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rec6b86e |
r41b2a07 |
|
| 1740 | 1740 | if( this.ally[0] != 0 ) { |
|---|
| 1741 | 1741 | if( side1points > 0 ) { |
|---|
| 1742 | | db.update("UPDATE ally SET wonBattles=wonBattles + $side1points WHERE id=",this.ally[0]); |
|---|
| | 1742 | db.update("UPDATE ally SET wonBattles=wonBattles + "+side1points+" WHERE id=",this.ally[0]); |
|---|
| 1743 | 1743 | } |
|---|
| 1744 | 1744 | else { |
|---|
| … | … | |
| 1747 | 1747 | } |
|---|
| 1748 | 1748 | if( side1points > 0 ) { |
|---|
| 1749 | | db.update("UPDATE users SET wonBattles=wonBattles + $side1points WHERE id=",this.commander[0]); |
|---|
| | 1749 | db.update("UPDATE users SET wonBattles=wonBattles + "+side1points+" WHERE id=",this.commander[0]); |
|---|
| 1750 | 1750 | } |
|---|
| 1751 | 1751 | else { |
|---|
| … | … | |
| 1755 | 1755 | if( this.ally[1] != 0 ) { |
|---|
| 1756 | 1756 | if( side2points > 0 ) { |
|---|
| 1757 | | db.update("UPDATE ally SET wonBattles=wonBattles + $side2points WHERE id=",this.ally[1]); |
|---|
| | 1757 | db.update("UPDATE ally SET wonBattles=wonBattles + "+side2points+" WHERE id=",this.ally[1]); |
|---|
| 1758 | 1758 | } |
|---|
| 1759 | 1759 | else { |
|---|
| … | … | |
| 1762 | 1762 | } |
|---|
| 1763 | 1763 | if( side2points > 0 ) { |
|---|
| 1764 | | db.update("UPDATE ally SET wonBattles=wonBattles + $side2points WHERE id=",this.commander[1]); |
|---|
| | 1764 | db.update("UPDATE ally SET wonBattles=wonBattles + "+side2points+" WHERE id=",this.commander[1]); |
|---|
| 1765 | 1765 | } |
|---|
| 1766 | 1766 | else { |
|---|