Arreglos varios al codi
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#include "writer.h"
|
||||
#include "text.h" // for Text
|
||||
#include "text.h" // for Text
|
||||
|
||||
// Constructor
|
||||
Writer::Writer(Text *text) : text(text)
|
||||
Writer::Writer(Text *text)
|
||||
: text(text)
|
||||
{
|
||||
// Inicializa variables
|
||||
posX = 0;
|
||||
@@ -25,7 +26,7 @@ void Writer::update()
|
||||
if (enabled)
|
||||
{
|
||||
if (!completed)
|
||||
{
|
||||
{
|
||||
// No completado
|
||||
if (writingCounter > 0)
|
||||
{
|
||||
@@ -45,7 +46,7 @@ void Writer::update()
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
{
|
||||
// Completado
|
||||
if (enabledCounter > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user