Changeset f0e1294e591dcb000f1f2b33e19cab6e697e0d70
- Timestamp:
- 05/25/08 18:18:47
(4 months ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1211732327 +0200
- git-parent:
[91c69094de303ddf208ac884b2c8494c820ca7c9]
- git-author:
- Christopher Jung <bktheg@web.de> 1211732327 +0200
- Message:
[bug] NPE beim Abriss einer Waffenfabrik ohne Waffenfabrik-Eintrag gefixt
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r13b2f45 |
rf0e1294 |
|
| 277 | 277 | |
|---|
| 278 | 278 | WeaponFactory wf = (WeaponFactory)db.get(WeaponFactory.class, base.getId()); |
|---|
| | 279 | if( wf == null ) { |
|---|
| | 280 | return; |
|---|
| | 281 | } |
|---|
| | 282 | |
|---|
| 279 | 283 | if( wf.getCount() > 1 ) { |
|---|
| 280 | 284 | BigDecimal usedcapacity = new BigDecimal(0, MathContext.DECIMAL32); |
|---|