- [FIX] Si només quedaba el heroi al canviar d'habitació, petava
- [FIX] Algunes capçaleres mal - Lagueirto en proves
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,5 +2,6 @@
|
||||
*.dll
|
||||
.vscode/*
|
||||
*.dSYM/*
|
||||
build/*
|
||||
thepool
|
||||
thepool_debug
|
||||
@@ -1,5 +1,5 @@
|
||||
width: 2
|
||||
height: 2
|
||||
width: 3
|
||||
height: 3
|
||||
color: CYAN
|
||||
floor-texture: 0
|
||||
wall-texture: 0
|
||||
|
||||
5
lagueirtofile
Normal file
5
lagueirtofile
Normal file
@@ -0,0 +1,5 @@
|
||||
libs = -lSDL2 -lSDL2_mixer
|
||||
cppflags = -D DEBUG -g
|
||||
executable = thepool_debug
|
||||
sourcepath = source
|
||||
buildpath = build
|
||||
@@ -418,7 +418,7 @@ namespace actor
|
||||
|
||||
void setDirty(actor_t *act, const bool force)
|
||||
{
|
||||
if (!act->prev && !act->next)
|
||||
if (!act->prev && !act->next && !(act==first))
|
||||
{
|
||||
act->next = first;
|
||||
if (first) first->prev = act;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "jdraw.h"
|
||||
#include "SDL2/SDL.h"
|
||||
#include <SDL2/SDL.h>
|
||||
#include "gif.c"
|
||||
#include "jfile.h"
|
||||
#include <vector>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "jinput.h"
|
||||
#include "editor.h"
|
||||
#include "console.h"
|
||||
#include "string.h"
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user