forked from github/server
Merge branch 'todo-cleanup' of github.com:ennorehling/eressea into todo-cleanup
Conflicts: src/attributes/stealth.c
This commit is contained in:
commit
20ab40dc2b
|
@ -11,6 +11,8 @@
|
||||||
#include <kernel/item.h>
|
#include <kernel/item.h>
|
||||||
#include <kernel/region.h>
|
#include <kernel/region.h>
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#include <CuTest.h>
|
#include <CuTest.h>
|
||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include <util/attrib.h>
|
#include <util/attrib.h>
|
||||||
#include <attributes/stealth.h>
|
#include <attributes/stealth.h>
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
attrib_type at_stealth = {
|
attrib_type at_stealth = {
|
||||||
|
@ -50,7 +49,6 @@ int u_geteffstealth(const unit *u)
|
||||||
int eff_stealth(const unit * u, const region * r)
|
int eff_stealth(const unit * u, const region * r)
|
||||||
{
|
{
|
||||||
int e = 0;
|
int e = 0;
|
||||||
|
|
||||||
/* Auf Schiffen keine Tarnung! */
|
/* Auf Schiffen keine Tarnung! */
|
||||||
if (!u->ship && skill_enabled(SK_STEALTH)) {
|
if (!u->ship && skill_enabled(SK_STEALTH)) {
|
||||||
e = effskill(u, SK_STEALTH, r);
|
e = effskill(u, SK_STEALTH, r);
|
||||||
|
|
Loading…
Reference in New Issue